package  
{
	
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	/**
	 * ...
	 * @author ...
	 */
	public class Credito extends MovieClip
	{
		private var telaCredito : TelaCredito;
		
		public function Credito() 
		{
			Main.CleanScreen();
			DrawScreen();
		}
		
		private function DrawScreen() : void
		{
			telaCredito  = new  TelaCredito();
			telaCredito.x = Main.stage.stageWidth / 2;
			telaCredito.y = Main.stage.stageHeight / 2;
			Main.screen.addChild(telaCredito);
			
			Main.screen.addEventListener(MouseEvent.CLICK, Back);
		}
		
		private function Back(e:MouseEvent) : void
		{
			var i : Intro = new Intro();
		}
	}

}